package gwtgaetools.client.comm;

import gwtgaetools.shared.model.GenericMessage;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface GenericRPCServiceAsync<Type, Message extends GenericMessage<Type>> {
//	void reset(AsyncCallback<Void> cb);
//	void delete(String id, int type, AsyncCallback<Void> cb);
//	void askForChannelToken(String id, AsyncCallback<ArrayList<String>> cb);
	
	void processMessage(Message msg, AsyncCallback<Void> callback);
	
	void dummyMethod(AsyncCallback<Message> callback);
}
